package be.novelfaces.showcase.webdriver.pages;

import org.openqa.selenium.By;

import be.novelfaces.webdriver.BaseComponent;

//TODO info, warning, error message + method for count of each level 
public class Messages extends BaseComponent {

	public Messages() {
		super(By.id("msgs"));
	}
	
	public boolean isMessagePresent(String message) {
		return getComponent().getText().contains(message);
	}
	
}
